<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        #webbody{
            background-color: #ffffff;
            overflow: hidden;
        }
        #webbody>ul{
            /*去掉图标*/
            list-style-type: none;
            width: 1220px; /*设置总宽度 为了居中 */
            background-color: #e8e8e8;
            overflow: hidden;/*所有子元素全部浮动 所以需要添加 解决显示异常*/
            padding: 0;
            position: relative;
            top: 10px;
            left:300px;
        }
        #webbody>ul>li{
            width: 224px;
            margin: 0 auto; /*这样元素总共占宽度为 244 正好是 1220/5的结果*/
            float: left;
            background-color: white;
            border-radius: 5px;
            overflow: hidden;
            border: 1px solid red;
            /*position: relative;*/
        }
        #webbody>ul>li>a{
            text-decoration: none;
            overflow: hidden;
        }

        #webbody>ul>li>img{
            position: absolute;
            left: 17px;
        }
    </style>
</head>
<body>
<div id="webbody">
    <ul>
        <li>
            <div>
                <img src="1-1.jpg" alt="">
                <a href=""><p>外研社博雅文库大全集</p></a>
                <a href="">费孝通等</p></a>
            </div>
        </li>
        <li>
            <div>
                <img src="1-1.jpg" alt="">
                <a href=""><p>外研社博雅文库大全集</p></a>
                <a href=""><p>费孝通等</p></a>
            </div>
        </li>
        <li>
            <div>
                <img src="1-1.jpg" alt="">
                <a href=""><p>外研社博雅文库大全集</p></a>
                <a href=""><p>费孝通等</p></a>
            </div>
        </li>
        <li>
            <div>
                <img src="1-1.jpg" alt="">
                <a href=""><p>外研社博雅文库大全集</p></a>
                <a href=""><p>费孝通等</p></a>
            </div>
        </li>
    </ul>
</div>

</body>
</html>